package cn.sh.cater;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ApplicationContext;

/**
 * Created with IDEA
 * author:Yhk
 * Date:2019/6/6
 * Time:12:26 PM
 */
@SpringBootApplication
public class Application {
    public static void main(String[] args) throws Exception {
        ApplicationContext ctx = new
                SpringApplicationBuilder().sources(Application.class).web(WebApplicationType.SERVLET).run(args);
    }
}
